#include "TCPServerConnectionFactoryWrapper.h"

network::TCPServerConnectionFactoryWrapper::TCPServerConnectionFactoryWrapper(std::vector<TCPServerChannel::Ptr>& vecChannels)
: _vecChannels(vecChannels)
{
}

network::TCPServerConnectionFactoryWrapper::~TCPServerConnectionFactoryWrapper()
{
}

TCPServerConnection* network::TCPServerConnectionFactoryWrapper::createConnection(const StreamSocket& socket)
{
	return new TCPServerConnectionWrapper(_vecChannels, (StreamSocket&)socket);
}
